package com.jpa.demo.reflection;

import com.jpa.demo.annotationdemo.MyAnnotation;
import lombok.Data;

@Data
public class ReflectionClass {

    @MyAnnotation
    private String name;

    private String age;

    private void privateMethod(){
        System.out.println("privateMethod");
    }

    public void publicMethod(){
        System.out.println("publicMethod");
    }
}
